var Spider = require('./foo/Spider');
var spider = new Spider(['http://www.baidu.com'], 1, 0);
spider.run(function(err, body, data, callback) {
    callback(null, data);
}, function(result) {
    console.log(result);
})